export * as Article from "./lantern/article";
export * as Tool from "./lantern/tool";
export * as Weapon from "./lantern/weapon";
export * as ClassicQuest from "./lantern/classicQuest";
export * as QuestNext from "./lantern/quest";
export * as ApiCommonData from "./common";
export * from "./lantern/logger";

/**
 * Version of LanternAPI.
 */
const API_VERSION: number = 8;

/**
 * Get the version of LanternAPI.
 * | Version | Features |
 * | ---- | ------- |
 * | 1(1.1.0) | added: `ArticleAPI`,`ToolAPI`,`WeaponAPI`,`ClassicQuestAPI` |
 * | 2(1.2.0) | added: `LoggerAPI` |
 * | 3(1.2.2) | changed: `ArticleAPI.DisplayCondition` |
 * | 4(1.3.0) | added: `QuestNextAPI` |
 * | 5(1.3.1) | changed: `ClassicQuestAPI.QuestOptions` |
 * | 6(1.4.0) | changed: `ClassicQuestAPI` |
 * | 7(1.4.2) | changed: `ToolAPI` |
 * | 8(1.4.3) | changed: `ToolAPI` |
 * @return The version of LanternAPI
 */
export function getApiVersion(): number {
  return API_VERSION;
}
